<?php
defined('_JEXEC') or die();
?>
<form action="<?php echo JRoute::_('index.php?option=com_sanpham&view=posts'); ?>" method="post" name="adminForm" id="adminForm">
	<div class="width-60 fltlft">
		<fieldset class="adminform">
			<legend><?php echo empty($id) ? JText::_('New Post') : JText::sprintf('Details', $this->item->id); ?></legend>
			<ul class="adminformlist">
				<li><?php echo $this->form->getLabel('id'); ?>
				<?php echo $this->form->getInput('id'); ?></li>
				
				<li><?php echo $this->form->getLabel('title'); ?>
				<?php echo $this->form->getInput('title'); ?></li>
				
				<li><?php echo $this->form->getLabel('created'); ?>
				<?php echo $this->form->getInput('created'); ?></li>
								
				<li><?php echo $this->form->getLabel('published'); ?>
				<?php echo $this->form->getInput('published'); ?></li>
				
				<li><?php echo $this->form->getLabel('important'); ?>
				<?php echo $this->form->getInput('important'); ?></li>
				
				<li><?php echo $this->form->getLabel('myimage'); ?>
				<?php echo $this->form->getInput('myimage'); ?></li>
				
				<li><?php echo $this->form->getLabel('mycategory'); ?>
				<?php echo $this->form->getInput('mycategory'); ?></li>
				
			</ul>
		<div class="clr"></div>
		<?php echo $this->form->getLabel('content'); ?>
		<div class="clr"></div>
		<?php echo $this->form->getInput('content'); ?>
		</fieldset>
	</div>
    <div>
        <input type="hidden" name="task" value="" />
    </div>
</form>